<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>${titleName!""}</title>
    <style type="text/css">
        body {
            font-family: SimSun;
        }
        @page {
            size: 8.5in 11in;
        }
        .guicontent{
            margin-left: 40px;
            font-weight: 600;
        }
        .title{
            margin-left: 60px;
            margin-top: 30px;
            font-size: 20px;
        }
        .content{
            margin-left: 60px;
            margin-top: 30px;
            font-size: 20px;
        }
        .mendListItemTitle{
            margin-left: 40px;
            margin-top: 30px;
            font-weight: 600;
        }
        .mendListItem{
            margin-left: 60px;
            margin-top: 30px;
            width: 70%;
        }
        .mendListContent{
            margin-top: 10px;
            margin-left: 20px;
        }
        .img{
            margin-top: 10px;
            margin-left: 20px;
        }
    </style>
</head>
<body>
<h1 style="text-align: center">${titleName!""}</h1><br/>
<div style="margin-left:20%">
    <div>
        <p>指导单号:${guidanceNum!""}</p>
        <p>地理位置:${geoLocation!""}</p>
        <p>档案员:${archievist!""}</p>
        <p>档案员电话:${archievistPhone!""}</p>
        <p>立档单位:${unit!""}</p>
        <p>地址:${unitLocation!""}</p>
        <p>状态:${mendState!""}</p>
    </div>
</div>
<div class="guicontent">指导内容</div>
<div class="title">标题: <div>${title!""}</div></div>
<div class="content">概述: <div style="font-size: 15px;">${content!""}</div></div>
<div class="mendListItemTitle">指导条目</div>
<#if (itemList)?? && (itemList?size > 0)>
    <#list itemList as item>
    <div class="mendListItem">
        <div style="margin-top: 30px;font-size: 20px;">${item.name!""}</div>
        <div class="mendListContent">
        ${item.content!""}
        </div>
        <div class="img">
            <#if (item.imgList)?? && (item.imgList?size > 0)>
                <#list item.imgList as itemImg>
                    <#if (itemImg.url)??>
                        <img src="${itemImg.url}" style="width: 150px;"/>
                    </#if>
                </#list>
            </#if>
        </div>
        <#if (item.mendListImgList)?? && (item.mendListImgList?size > 0)>
            <div>整改拍照:</div>
        </#if>
        <div class="img">
            <#if (item.mendListImgList)?? && (item.mendListImgList?size > 0)>
                <#list item.mendListImgList as mendListImg>
                    <#if (mendListImg.url)??>
                        <#if (mendListImg.url)??>
                            <img src="${mendListImg.url}" style="width: 150px;"/>
                        </#if>
                    </#if>
                </#list>
            </#if>
        </div>
        <div style="margin-top: 10px;">
            整改说明:
            <div style="margin-left: 25px;">
            ${item.mendRemark!""}
            </div>
        </div>
    </div>
    <hr></hr>
    </#list>
</#if>
<#if (additions)?? && (additions?size > 0)>
<div class="mendListItemTitle">整改附件:</div>
</#if>
<div style="margin-left:20%">
    <div>
    <#if (additions)?? && (additions?size > 0)>
        <#list additions as img>
            <p>${img_index + 1}:${img.fileName!""}</p>
        </#list>
    </#if>
    </div>
</div>
<div style="margin-left: 40px;margin-top: 30px;width: 70%;">
    验证备注:
    <div style="margin-left: 25px;">
        ${verifyRemark!""}
    </div>
</div>
</body>
</html>
